package com.sims.dao;

import java.util.List;

import com.sims.bean.Teacher;

public interface ITeacherDAO {

	public abstract void save(Teacher transientInstance);

	public abstract void delete(Teacher persistentInstance);

	public abstract Teacher findById(java.lang.Integer id);

	public abstract List findByExample(Teacher instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByTno(Object tno);

	public abstract List findByPassword(Object password);

	public abstract List findByName(Object name);

	public abstract List findBySex(Object sex);

	public abstract List findByNation(Object nation);

	public abstract List findByDegree(Object degree);

	public abstract List findByPoliticalStatus(Object politicalStatus);

	public abstract List findByIdcard(Object idcard);

	public abstract List findByPostion(Object postion);

	public abstract List findByDepartment(Object department);

	public abstract List findAll();

	public abstract Teacher merge(Teacher detachedInstance);

	public abstract void attachDirty(Teacher instance);

	public abstract void attachClean(Teacher instance);

	public abstract Teacher findByTno(String tno);
}